package com.usian.comment.repository;

import com.usian.model.comment.pojos.ApCommentLike;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface ApCommentLikeRepository extends MongoRepository<ApCommentLike,String> {
    void deleteByAuthorIdAndCommentId(Integer authorId,String commentId);

    List<ApCommentLike>findByCommentIdInAndAuthorId(List<String> commentIdList,Integer authorId);
}
